$defaultWidth: 500px;
.self-code-view {
  z-index: 20000;
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  font-family: PingFang SC;
}

.price {
  font-weight: bold;
  font-size: 45rpx;
  color: #e64656;
}

.self-code-main {
  z-index: 3;
  position: relative;
  top: 30%;
  //left: 40rpx;
  //right: 40rpx;
  background: #ffffff;
  border-radius: 20rpx;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 560px;
  margin: 0 auto;
}

.self-code-main .self-code-hd {
  font-size: 33rpx;
  font-weight: bold;
  color: #000000;
}

.self-code-main .self-code-text {
  font-size: 29rpx;
  font-weight: 400;
  color: #888888;
  margin-top: 48rpx;
  margin-bottom: 43rpx;
}

.self-code-main .code {
  margin-top: 20px;
  font-size: 40rpx;
  font-weight: bold;
  color: black;
  margin-bottom: 40rpx;
  width: $defaultWidth;
}

.self-code-btns {
  //width: 400rpx;
  height: 73rpx;
  background: #03c1b6;
  border-radius: 37rpx;
  font-size: 32rpx;
  font-weight: 400;
  color: #ffffff;
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
}

.self-code-header {
  width: $defaultWidth;
  margin: 0 auto;
  display: flex;
  padding: 10px 0;
  &-info {
    flex: 1;
    display: flex;
    align-items: center;
  }
  .wxName {
    margin-left: 10px;
  }
  .wxHeadImg {
    width: 80px;
    height: 80px;
    border-radius: 40px;
  }
}
.close {
  width: 50px;
  height: 50px;
}
.goodsUrl {
  width: 500px;
  height: 400px;
}

.goods {
  &-title {
    height: 40px;
    overflow: hidden;
    margin-top: 25px;
  }
}
